#!/usr/bin/python
#encoding: utf-8

#import flup.server.fcgi as flups
import fastcgitestPOST



def myapp(environ,start_response):
	#start_esponse('200 OK',[('Content-Type','text/plain')])
	start_response('200 OK',[('Content-Type','audio/aiff')])

	#postdata = environ["wsgi.input"].read()
	#IP = environ["REMOTE_ADDR"]
	#postdata=fastcgitestPOST.post(postdata,IP)
	#postdata = appPOST.post(postdata,IP)
        #nLen=len(postdata)
        #start_response('200 OK',[('Content-Type','text/plain'), ('Content-Length', str(nLen))])
        postdata="tests"
	return postdata 

#if __name__ == '__main__':
#	flups.WSGIServer(myapp).run()


